-
Home
-
ElasticPress
-
5.1.4 (latest)
-
Code
-
Classes
- QueryLogger
Total Complexity |
54 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
425 |
Lines of code |
211 |
Logical lines of code |
104 |
Comment lines |
153 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
maybe_add_notice() |
A |
44 |
9 |
44 |
format_log_entry() |
A |
44 |
9 |
41 |
update_logs() |
A |
49 |
8 |
31 |
is_bulk_index_error() |
S |
58 |
6 |
14 |
get_logs() |
S |
55 |
5 |
19 |
log_query() |
S |
56 |
5 |
17 |
should_log_query_type() |
S |
55 |
2 |
21 |
clear_logs() |
S |
67 |
3 |
8 |
maybe_log_delete_index() |
S |
73 |
3 |
4 |
is_query_error() |
S |
68 |
3 |
7 |
setup() |
S |
71 |
1 |
5 |